/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author houfukude
 */
import java.net.*;
import java.io.IOException;
import java.awt.Desktop;
public class TestDesktop{
    public static void main(String[] args)throws IOException,URISyntaxException{
        Desktop dt;
        if(Desktop.isDesktopSupported()){
                dt = Desktop.getDesktop();
                dt.browse(new URI("http://www.baidu.com"));
            }
    }


}
